package com.example.anliku.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Transient;

@ApiModel(value="com-example-anliku-entity-ExampleComment")
@Data
public class ExampleComment {
    /**
    * 案例和评论对应关系id
    */
    @ApiModelProperty(value="案例和评论对应关系id")
    private Integer exampleCommentId;

    /**
    * 评论记录id
    */
    @ApiModelProperty(value="评论记录id")
    private Integer exampleCommentCommentId;

    /**
    * 案例id
    */
    @ApiModelProperty(value="案例id")
    private Integer exampleCommentExampleId;

    @Transient
    private Comment comment;

    @Transient
    private  User user;
}